//
//  AlipayStore.h
//  NewPro
//
//  Created by RYX on 2018/10/31.
//  Copyright © 2018年 何荧红. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AlipayStore : NSObject

/**
 * 支付宝支付
 */
- (void)alipayWithId:(NSString *)uid Success:(void(^)(NSString *sign))success Failure:(void(^)(NSError *error))failure;

//微信支付
- (void)payWithWeixin:(NSString *)uid Success:(void(^)(NSDictionary *res))success Failure:(void(^)(NSError *error))failure;

#pragma mark 获取余额
- (void)GetYuePayWithPrams:(NSDictionary *)prams Success:(void(^)(NSDictionary *res))success Failure:(void(^)(NSError *error))failure;



#pragma mark 余额支付
- (void)YuePayWithSecret:(NSString *)secret andOrderId:(NSString *)orderId Success:(void(^)(NSString *Msg))success Failure:(void(^)(NSError *error))failure;



@end


